package com.zx.mes.hyl.singleton;

/**多线程执行创建单例可能出现的问题
 * @author huayunlong
 * @date 2018-9-17
 */
public class T implements Runnable {
    @Override
    public void run() {
        LazySingleton instance = LazySingleton.getInstance();
        System.out.println(instance.toString());
    }
}
